package com.naiterui.ehp.bs.b2c.order.service;

import com.naiterui.ehp.bp.support.exception.BusinessException;

import java.util.List;

/**
 * @Description 退换货操作日志记录业务接口
 * @Author gongbaoqiang
 * @Date 2019/9/29 3:13 PM
 */
public interface IReturnOrderOperateLogService {

    /**
     * 新建日志
     * @param businessNo  业务单号
     * @param operater    操作人
     * @throws BusinessException
     */
    void add(String businessNo, String operater) throws BusinessException;

    /**
     * 更新操作日志
     * @param businessNo  业务单号
     * @param operater    操作人
     * @throws BusinessException
     */
    void update(String businessNo, String operater) throws BusinessException;

    /**
     * 提交操作日志
     * @param businessNos  业务单号
     * @param operater    操作人
     * @throws BusinessException
     */
    void submit(List<String> businessNos, String operater) throws BusinessException;

    /**
     * 更新操作日志
     * @param businessNos  业务单号
     * @param operater    操作人
     * @throws BusinessException
     */
    void audit(List<String> businessNos, String operater) throws BusinessException;

    /**
     * 反审操作日志
     * @param businessNos  业务单号
     * @param operater    操作人
     * @throws BusinessException
     */
    void reset(List<String> businessNos, String operater) throws BusinessException;


    /**
     * 作废操作日志
     * @param businessNos  业务单号
     * @param operater    操作人
     * @throws BusinessException
     */
    void invalid(List<String> businessNos, String operater) throws BusinessException;

    /**
     * 确认收货
     * @param businessNos  业务单号
     * @param operater    操作人
     * @throws BusinessException
     */
    void confirm(List<String> businessNos, String operater) throws BusinessException;
}
